Charting::Chart SvgToPng Method
Syntax
.SvgToPng as B (svg as C)
Arguments
- svg
SVG content
Description
Convert SVG content into a PNG bitmap image.
Example
dim svg as c = <<%str%
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
%str%
dim bl as b = charting::Chart::SvgToPng(svg)
file.from_blob("c:\data\circle.png",bl)